﻿namespace GoodAdmin.System;

public class UserOutput
{
    /// <summary>
    /// 用户Id
    /// </summary>
    public long Id { get; set; }
    /// <summary>
    /// 帐号
    /// </summary>
    public string Account { get; set; }

    /// <summary>
    /// 姓名
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 工号
    /// </summary>
    public string WorkId { get; set; }

    /// <summary>
    /// 性别
    /// </summary>
    public string Gender { get; set; }

    /// <summary>
    /// 出生日期
    /// </summary>
    public DateTime? Birthday { get; set; }

    /// <summary>
    /// 民族
    /// </summary>
    public string Nation { get; set; }

    /// <summary>
    /// 邮箱
    /// </summary>
    public string Email { get; set; }

    /// <summary>
    /// 地址
    /// </summary>
    public string Address { get; set; }

    /// <summary>
    /// 个人简介
    /// </summary>
    public string Introduction { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    public string Status { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string Remark { get; set; }

    /// <summary>
    /// 组织Id
    /// </summary>
    public long OrgId { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public string OrgName { get; set; }

    ///// <summary>
    ///// 职位Id
    ///// </summary>
    //public long PosId { get; set; }

    ///// <summary>
    ///// 职位名称
    ///// </summary>
    //public string PosName { get; set; }

    /// <summary>
    /// 入职日期
    /// </summary>
    public DateTime? JoinDate { get; set; }

    /// <summary>
    /// 电子签名
    /// </summary>
    public string Signature { get; set; }
}

public class UserSimpleInfo
{
    /// <summary>
    /// 用户Id
    /// </summary>
    public long Id { get; set; }
    /// <summary>
    /// 帐号
    /// </summary>
    public string Account { get; set; }

    /// <summary>
    /// 姓名
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 工号
    /// </summary>
    public string WorkId { get; set; }
    /// <summary>
    /// 组织Id
    /// </summary>
    public long OrgId { get; set; }
    /// <summary>
    /// 组织名称
    /// </summary>
    //public string OrgName { get; set; }
    ///// <summary>
    ///// 职位Id
    ///// </summary>
    //public long PosId { get; set; }
}


public class UserBatchAddOutput
{
    /// <summary>
    /// 帐号
    /// </summary>
    [Display(Name = "账号")]
    public string Account { get; set; }

    /// <summary>
    /// 姓名
    /// </summary>
    [Display(Name = "姓名")]
    public string Name { get; set; }

    /// <summary>
    /// 工号
    /// </summary>
    [Display(Name = "工号")]
    public string WorkId { get; set; }

    /// <summary>
    /// 性别
    /// </summary>
    [Display(Name = "性别")]
    public string Gender { get; set; }

    /// <summary>
    /// 出生日期
    /// </summary>
    [Display(Name = "出生日期")]
    public DateTime? Birthday { get; set; }

    /// <summary>
    /// 民族
    /// </summary>
    [Display(Name = "民族")]
    public string Nation { get; set; }

    /// <summary>
    /// 手机号码
    /// </summary>
    [Display(Name = "手机号码")]
    public string Phone { get; set; }

    /// <summary>
    /// 证件类型
    /// </summary>
    [Display(Name = "证件类型")]
    public string CardType { get; set; }

    /// <summary>
    /// 证件号码
    /// </summary>
    [Display(Name = "证件号码")]
    public string IdCardNum { get; set; }

    /// <summary>
    /// 邮箱
    /// </summary>
    [Display(Name = "邮箱")]
    public string Email { get; set; }

    /// <summary>
    /// 地址
    /// </summary>
    [Display(Name = "地址")]
    public string Address { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    [Display(Name = "状态")]
    public string Status { get; set; }

    /// <summary>
    /// 组织名称
    /// </summary>
    [Display(Name = "组织名称")]
    public string OrgName { get; set; }

    ///// <summary>
    ///// 职位名称
    ///// </summary>
    //[Display(Name = "职位名称")]
    //public string PosName { get; set; }

    /// <summary>
    /// 入职日期
    /// </summary>
    [Display(Name = "入职日期")]
    public DateTime? JoinDate { get; set; }
    /// <summary>
    /// 备注
    /// </summary>
    [Display(Name = "备注")]
    public string Remark { get; set; }
    /// <summary>
    /// 错误信息
    /// </summary>
    [Display(Name = "*错误信息")]
    public string ErrorMessages { get; set; }
}

public class UserSelectorOutput:BaseTreeEntityId<UserSelectorOutput>
{
    public string Name { get; set; }
    public string Icon { get; set; }
    public bool IsLeaf { get; set; }
    public string Type { get; set; }
}